-- Define /tgd and TGD as valid slash commands
SLASH_TGDLOOT1, SLASH_TGDLOOT2, SLASH_TGDLOOT3 = '/tgd', '/TGD', '/tgdloot';
function SlashCmdList.TGDLOOT(msg, editbox)
  print("TGDLoot SlashCmdList.TGDLOOT triggered");
end

local EventFrame = CreateFrame("Frame")
EventFrame:RegisterEvent("PLAYER_LOGIN")
EventFrame:SetScript("OnEvent", function(self,event,...) 
      ChatFrame1:AddMessage('TGDLoot Loaded. Character: '.. UnitName("Player"))
      TGDLootUI:createClientLootWindow()
end)
